

public class CalculatorBrains {
	
	
double currentValue;
 




	public void plus (double value){
	     this.currentValue = this.currentValue + value;
	 }
	
	public void minus (double value){
		this.currentValue = this.currentValue - value;
	
	}
	public void multiply (double value){
		this.currentValue = this.currentValue * value;
	}
	
	public void divide (double value){
		this.currentValue = this.currentValue / value;
	}
	
	public double result (){
		return this.currentValue;
	}
	
	public void reset (){
		 this.currentValue = 0;
	}

	
	

}



	

		  
	



